
{extend name="index/index" /}

{block name="main"}

        <div class="sixteen columns row divide notop">
        	<a href="{:url('index/News/dynamic')}"><h3 class="titledivider">新闻动态</h3></a>
            <div class="dividerline"></div>
        </div>
        <form action="{:url('index/News/search')}">
            <span class="input-icon" style="display:inline-block;margin-left:10px;">
                <input type="text" name="search" placeholder="点击搜索" class="nav-search-input" id="nav-search-input" autocomplete="off" value="{$new['search']}"/>
                <i class="icon-search nav-search-icon"></i>
            </span>
            <input type="submit" value="搜索" style="width:55px;height:36px;">
        </form>
        <?php if ($newslist==null): ?>
            <h3>查无数据</h3>
        <?php else: ?>&nbsp;
            {volist name="newslist" id="news"}
        <li style="border: 1px solid #ccc!important;padding: 14px;border-radius: 16px!important;">
            <div  style="width:550px;clear: both;height: 30px;margin-bottom: 10px;">
              <div class="pet_list_one_info_r" style="float: right;">
                  <div class="pet_list_tag pet_list_tag_xxs" style="height: 20px;line-height: 20px;padding-right: 8px;margin: 3px 0;color: #222;font-weight: bold;">来自:{$news->description}</div>
              </div>
            </div>
            <div class=" am-u-sm-8 am-list-main pet_list_one_nr">
              <h4 class="am-list-item-hd pet_list_one_bt" style=" overflow: hidden; white-space: nowrap;text-overflow: ellipsis;line-height: 22px;"><a href="{$news->url}" style="color: #222;font-weight: bold;" >{$news->title}</a></h4>
            </div>
            <div class="am-u-sm-4 am-list-thumb" style="display:inline-block;">
                <a href="{$news->url}" class="">
                    <img src="{$news->picUrl}" style="width: 200px;height:130px;display: block;">
                </a>
            </div>
            <div style="display:inline-block;">
                <span style="color: #222;font-weight: bold;margin-left:30px;">发布时间:{$news->ctime}</span>
            </div>
        </li>
            {/volist}&nbsp;
        <?php endif ?>
        <!-- Space Adjuster
        ================================================== -->
        
        <div class="sixteen columns bottomadjust"></div>
            
	</div><!-- container -->

{/block}